// 登录接口需要携带参数类型
export interface loginFormData {
  username: string,
  password: string,
  platform: string
}

// 接口返回数据类型
export interface ResData {
  code: number,
  msg:string
}

// 用户菜单列表数据类型
export interface Menu {
  active:number
  createTime:string,
  createUser:string,
  deleted:number,
  id:number,
  menuIcon:string,
  menuId:string,
  menuName:number,
  menuUrl:string,
  parentId:number,
  sort:number,
  updateTime:string,
  updateUser:string,
  version:number,
}

// 登录接口返回数据类型
export interface loginResData extends ResData{
  data:{
    menuList:Menu[],
    realname:string,
    roleId:number,
    roleName:string,
    roleRealName:string,
    token:string,
    userId:number,
    username:string
  }
}